package com.css.fxfzypg.modules.baseData.repository;

import com.css.fxfzypg.modules.baseData.entity.AnrrsmEntity;
import com.css.fxfzypg.modules.baseData.queryParams.AnrrsmQueryParams;
import org.springframework.data.domain.Page;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

/**
 * @author y1fan
 * @create 2022-08-29 15:27
 */
public interface AnrrsmRepository {


    AnrrsmEntity saveAnrrsm(AnrrsmEntity anrrsmEntity);

    Object getAnrrsmById(String id);

    AnrrsmEntity updateAnrrsm(AnrrsmEntity anrrsmEntity);

    void deleteAnrrsm(List<String> ids, Timestamp currentTimestamp);

    Map<String,Object> getAllAnrrsmByParams(AnrrsmQueryParams queryParams);
}
